package cn.ictgu.dao.mapper;

import cn.ictgu.dao.model.Live;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * Live 数据库映射
 * Created by Silence on 2016/12/5.
 */
@Mapper
public interface LiveMapper {

  @Select("SELECT * FROM zhibo WHERE sname = #{sname} LIMIT 1")
  Live selectByName(@Param("sname") String sname);

}
